﻿/*
=======================================================
    Mpa【抗拉强度等级】
=======================================================
*/

namespace Services
{
    public interface IMpaLogic : ILogic<MpaModel, MpaFilterModel>
    {
        int UpdateIsDelete(bool flag, params int[] ids);
    }


    public class MpaLogic : BaseLogic<MpaModel, MpaFilterModel, Mpa, IMpaRepository, IMpaMapping, IMpaService>, IMpaLogic
    {
        public MpaLogic(ICurrentUser currentUser, IMpaRepository repository, IMpaMapping mapping, IMpaService service)
            : base(currentUser, repository, mapping, service)
        {
        }

        #region 启用/禁用  UpdateIsDelete
        public int UpdateIsDelete(bool flag, params int[] ids)
        {
            return _repository.UpdateIsDelete(flag, ids);
        }
        #endregion
        
    }
}
